// 返利
import { data } from 'autoprefixer';
import http from '../utils/http.js';

/**
 * 获取用户当前绑定的商户配置信息
*/
export const GetStoreInfo = ()=>{
    return http.get('/auth/rebate/storeInfo')
}

/**
 * 获取用户当前绑定的社区配置信息
*/
export const GetCommunityInfo = ()=>{
    return http.get('/auth/rebate/communityInfo')
}

/**
 * 获取等待返利的列表
*/
export const GetQueuePage = (storeId,data)=>{
    return http.get(`/auth/rebate/queuePage/${storeId}`,data)
}

/**
 * 获取完成返利的列表
*/
export const GetQueueComplete = (storeId,data)=>{
    return http.get(`/auth/rebate/queueComplete/${storeId}`,data)
}

/**
 * 社区公益基金查询
*/
export const GetCommunityFund = ()=>{
    return http.get('/auth/rebate/communityFund')
}

/**
 * 社区建设基金查询
*/
export const GetConstructionFund = ()=>{
    return http.get(`/auth/rebate/constructionFund`)
}

/**
 * 物业基金池列表
*/
export const GetTenementFundPool = ()=>{
    return http.get('/auth/rebate/tenementFundPool/page')
}

/**
 * 
*/
export const GetReceive = (tenementFundId)=>{
    return http.get(`/auth/rebate/tenementFundPool/receive/${tenementFundId}`)
}